package com.wgchao.amc.service;

import com.wgchao.amc.common.ResultCommon;
import com.wgchao.amc.mapstruct.dto.SysAuthoRoleDTO;

import java.util.List;

public interface RoleAuthoService {

    public ResultCommon<List<SysAuthoRoleDTO>> assign(Long groupId, Long roleId, String proMark, List<SysAuthoRoleDTO> authoRoleDTOS) throws Exception;

    public ResultCommon<List<SysAuthoRoleDTO>> search(Long groupId, Long roleId, String proMark) throws Exception;
}
